Model fit

Column

Assumption checks

Column

Indices of model fit

Metric Value
AIC 16890.40
AICc 16890.54
BIC 17007.09
R2 (cond.) 0.03
R2 (marg.) 0.02
ICC 4.45e-03
RMSE 1.37
Sigma 1.37

For interpretation of performance metrics, please refer to this documentation.

Parameter estimates

Column

Plot

Column

Tabular summary

# Fixed Effects
Parameter Coefficient SE 95% CI t(4813) p
(Intercept) 5.92 0.46 (5.02, 6.83) 12.78 < .001
educacion rec [Ed Media] -0.16 0.08 (-0.32, -6.30e-03) -2.04 0.041
educacion rec [Ed Tecnica] -0.14 0.09 (-0.31, 0.03) -1.61 0.109
educacion rec [Universidad o posgrado] -0.09 0.09 (-0.26, 0.08) -1.02 0.310
educacion rec [Ns/Nr] -0.02 0.08 (-0.17, 0.14) -0.22 0.824
libros rec [Más de 25] 0.03 0.04 (-0.05, 0.12) 0.78 0.433
apod acc div 0.08 0.02 (0.04, 0.11) 3.97 < .001
civic [Medio] 0.27 0.05 (0.17, 0.37) 5.38 < .001
civic [Alto] 0.40 0.05 (0.30, 0.51) 7.75 < .001
apdis fa 0.07 0.02 (0.02, 0.12) 2.88 0.004
mean apdis -0.04 0.08 (-0.20, 0.13) -0.43 0.671
etnia2 [Medio] 0.12 0.06 (5.77e-04, 0.25) 1.97 0.049
etnia2 [Alto] 0.12 0.07 (-0.01, 0.25) 1.78 0.075
inmigrante2 [Medio] 0.01 0.07 (-0.13, 0.16) 0.17 0.866
inmigrante2 [Alto] -0.07 0.10 (-0.25, 0.12) -0.71 0.478
escolaridad -0.01 0.06 (-0.12, 0.10) -0.26 0.798
# Random Effects
Parameter Coefficient
SD (Intercept: mrbd) 0.09
SD (Residual) 1.37

To find out more about table summary options, please refer to this documentation.

Predicted Values

Column

Plot

Error in match.arg(tolower(range), c("range", "iqr", "ci", "hdi", "eti", : 'arg' should be one of "range", "iqr", "ci", "hdi", "eti", "sd", "mad"
Error in lapply(text_modelbased, function(i) {: object 'text_modelbased' not found
Error in is.ggplot(x): object 'all_plots' not found

Column

Tabular summary

Error in eval(expr, envir, enclos): object 'text_modelbased' not found

Text reports

Column

Textual summary

We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict est_acc_div with educacion_rec (formula: est_acc_div ~ educacion_rec + libros_rec + apod_acc_div + civic + apdis_fa + mean_apdis + etnia2 + inmigrante2 + escolaridad). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is weak (conditional R2 = 0.03) and the part related to the fixed effects alone (marginal R2) is of 0.02. The model’s intercept, corresponding to educacion_rec = Ed Basica, is at 5.92 (95% CI (5.02, 6.83), t(4813) = 12.78, p < .001). Within this model:

  • The effect of educacion rec (Ed Media) is statistically significant and negative (beta = -0.16, 95% CI (-0.32, -6.30e-03), t(4813) = -2.04, p = 0.041; Std. beta = -0.12, 95% CI (-0.23, -4.53e-03))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and negative (beta = -0.14, 95% CI (-0.31, 0.03), t(4813) = -1.61, p = 0.109; Std. beta = -0.10, 95% CI (-0.22, 0.02))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and negative (beta = -0.09, 95% CI (-0.26, 0.08), t(4813) = -1.02, p = 0.310; Std. beta = -0.06, 95% CI (-0.19, 0.06))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.17, 0.14), t(4813) = -0.22, p = 0.824; Std. beta = -0.01, 95% CI (-0.12, 0.10))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.03, 95% CI (-0.05, 0.12), t(4813) = 0.78, p = 0.433; Std. beta = 0.02, 95% CI (-0.04, 0.09))
  • The effect of apod acc div is statistically significant and positive (beta = 0.08, 95% CI (0.04, 0.11), t(4813) = 3.97, p < .001; Std. beta = 0.06, 95% CI (0.03, 0.08))
  • The effect of civic (Medio) is statistically significant and positive (beta = 0.27, 95% CI (0.17, 0.37), t(4813) = 5.38, p < .001; Std. beta = 0.19, 95% CI (0.12, 0.26))
  • The effect of civic (Alto) is statistically significant and positive (beta = 0.40, 95% CI (0.30, 0.51), t(4813) = 7.75, p < .001; Std. beta = 0.29, 95% CI (0.22, 0.36))
  • The effect of apdis fa is statistically significant and positive (beta = 0.07, 95% CI (0.02, 0.12), t(4813) = 2.88, p = 0.004; Std. beta = 0.04, 95% CI (0.01, 0.07))
  • The effect of mean apdis is statistically non-significant and negative (beta = -0.04, 95% CI (-0.20, 0.13), t(4813) = -0.43, p = 0.671; Std. beta = -6.89e-03, 95% CI (-0.04, 0.02))
  • The effect of etnia2 (Medio) is statistically significant and positive (beta = 0.12, 95% CI (5.77e-04, 0.25), t(4813) = 1.97, p = 0.049; Std. beta = 0.09, 95% CI (4.14e-04, 0.18))
  • The effect of etnia2 (Alto) is statistically non-significant and positive (beta = 0.12, 95% CI (-0.01, 0.25), t(4813) = 1.78, p = 0.075; Std. beta = 0.08, 95% CI (-8.62e-03, 0.18))
  • The effect of inmigrante2 (Medio) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.13, 0.16), t(4813) = 0.17, p = 0.866; Std. beta = 8.91e-03, 95% CI (-0.09, 0.11))
  • The effect of inmigrante2 (Alto) is statistically non-significant and negative (beta = -0.07, 95% CI (-0.25, 0.12), t(4813) = -0.71, p = 0.478; Std. beta = -0.05, 95% CI (-0.18, 0.09))
  • The effect of escolaridad is statistically non-significant and negative (beta = -0.01, 95% CI (-0.12, 0.10), t(4813) = -0.26, p = 0.798; Std. beta = -6.41e-03, 95% CI (-0.06, 0.04))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict est_acc_div with libros_rec (formula: est_acc_div ~ educacion_rec + libros_rec + apod_acc_div + civic + apdis_fa + mean_apdis + etnia2 + inmigrante2 + escolaridad). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is weak (conditional R2 = 0.03) and the part related to the fixed effects alone (marginal R2) is of 0.02. The model’s intercept, corresponding to libros_rec = Menos de 25, is at 5.92 (95% CI (5.02, 6.83), t(4813) = 12.78, p < .001). Within this model:

  • The effect of educacion rec (Ed Media) is statistically significant and negative (beta = -0.16, 95% CI (-0.32, -6.30e-03), t(4813) = -2.04, p = 0.041; Std. beta = -0.12, 95% CI (-0.23, -4.53e-03))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and negative (beta = -0.14, 95% CI (-0.31, 0.03), t(4813) = -1.61, p = 0.109; Std. beta = -0.10, 95% CI (-0.22, 0.02))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and negative (beta = -0.09, 95% CI (-0.26, 0.08), t(4813) = -1.02, p = 0.310; Std. beta = -0.06, 95% CI (-0.19, 0.06))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.17, 0.14), t(4813) = -0.22, p = 0.824; Std. beta = -0.01, 95% CI (-0.12, 0.10))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.03, 95% CI (-0.05, 0.12), t(4813) = 0.78, p = 0.433; Std. beta = 0.02, 95% CI (-0.04, 0.09))
  • The effect of apod acc div is statistically significant and positive (beta = 0.08, 95% CI (0.04, 0.11), t(4813) = 3.97, p < .001; Std. beta = 0.06, 95% CI (0.03, 0.08))
  • The effect of civic (Medio) is statistically significant and positive (beta = 0.27, 95% CI (0.17, 0.37), t(4813) = 5.38, p < .001; Std. beta = 0.19, 95% CI (0.12, 0.26))
  • The effect of civic (Alto) is statistically significant and positive (beta = 0.40, 95% CI (0.30, 0.51), t(4813) = 7.75, p < .001; Std. beta = 0.29, 95% CI (0.22, 0.36))
  • The effect of apdis fa is statistically significant and positive (beta = 0.07, 95% CI (0.02, 0.12), t(4813) = 2.88, p = 0.004; Std. beta = 0.04, 95% CI (0.01, 0.07))
  • The effect of mean apdis is statistically non-significant and negative (beta = -0.04, 95% CI (-0.20, 0.13), t(4813) = -0.43, p = 0.671; Std. beta = -6.89e-03, 95% CI (-0.04, 0.02))
  • The effect of etnia2 (Medio) is statistically significant and positive (beta = 0.12, 95% CI (5.77e-04, 0.25), t(4813) = 1.97, p = 0.049; Std. beta = 0.09, 95% CI (4.14e-04, 0.18))
  • The effect of etnia2 (Alto) is statistically non-significant and positive (beta = 0.12, 95% CI (-0.01, 0.25), t(4813) = 1.78, p = 0.075; Std. beta = 0.08, 95% CI (-8.62e-03, 0.18))
  • The effect of inmigrante2 (Medio) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.13, 0.16), t(4813) = 0.17, p = 0.866; Std. beta = 8.91e-03, 95% CI (-0.09, 0.11))
  • The effect of inmigrante2 (Alto) is statistically non-significant and negative (beta = -0.07, 95% CI (-0.25, 0.12), t(4813) = -0.71, p = 0.478; Std. beta = -0.05, 95% CI (-0.18, 0.09))
  • The effect of escolaridad is statistically non-significant and negative (beta = -0.01, 95% CI (-0.12, 0.10), t(4813) = -0.26, p = 0.798; Std. beta = -6.41e-03, 95% CI (-0.06, 0.04))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict est_acc_div with apod_acc_div (formula: est_acc_div ~ educacion_rec + libros_rec + apod_acc_div + civic + apdis_fa + mean_apdis + etnia2 + inmigrante2 + escolaridad). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is weak (conditional R2 = 0.03) and the part related to the fixed effects alone (marginal R2) is of 0.02. The model’s intercept, corresponding to apod_acc_div = 0, is at 5.92 (95% CI (5.02, 6.83), t(4813) = 12.78, p < .001). Within this model:

  • The effect of educacion rec (Ed Media) is statistically significant and negative (beta = -0.16, 95% CI (-0.32, -6.30e-03), t(4813) = -2.04, p = 0.041; Std. beta = -0.12, 95% CI (-0.23, -4.53e-03))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and negative (beta = -0.14, 95% CI (-0.31, 0.03), t(4813) = -1.61, p = 0.109; Std. beta = -0.10, 95% CI (-0.22, 0.02))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and negative (beta = -0.09, 95% CI (-0.26, 0.08), t(4813) = -1.02, p = 0.310; Std. beta = -0.06, 95% CI (-0.19, 0.06))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.17, 0.14), t(4813) = -0.22, p = 0.824; Std. beta = -0.01, 95% CI (-0.12, 0.10))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.03, 95% CI (-0.05, 0.12), t(4813) = 0.78, p = 0.433; Std. beta = 0.02, 95% CI (-0.04, 0.09))
  • The effect of apod acc div is statistically significant and positive (beta = 0.08, 95% CI (0.04, 0.11), t(4813) = 3.97, p < .001; Std. beta = 0.06, 95% CI (0.03, 0.08))
  • The effect of civic (Medio) is statistically significant and positive (beta = 0.27, 95% CI (0.17, 0.37), t(4813) = 5.38, p < .001; Std. beta = 0.19, 95% CI (0.12, 0.26))
  • The effect of civic (Alto) is statistically significant and positive (beta = 0.40, 95% CI (0.30, 0.51), t(4813) = 7.75, p < .001; Std. beta = 0.29, 95% CI (0.22, 0.36))
  • The effect of apdis fa is statistically significant and positive (beta = 0.07, 95% CI (0.02, 0.12), t(4813) = 2.88, p = 0.004; Std. beta = 0.04, 95% CI (0.01, 0.07))
  • The effect of mean apdis is statistically non-significant and negative (beta = -0.04, 95% CI (-0.20, 0.13), t(4813) = -0.43, p = 0.671; Std. beta = -6.89e-03, 95% CI (-0.04, 0.02))
  • The effect of etnia2 (Medio) is statistically significant and positive (beta = 0.12, 95% CI (5.77e-04, 0.25), t(4813) = 1.97, p = 0.049; Std. beta = 0.09, 95% CI (4.14e-04, 0.18))
  • The effect of etnia2 (Alto) is statistically non-significant and positive (beta = 0.12, 95% CI (-0.01, 0.25), t(4813) = 1.78, p = 0.075; Std. beta = 0.08, 95% CI (-8.62e-03, 0.18))
  • The effect of inmigrante2 (Medio) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.13, 0.16), t(4813) = 0.17, p = 0.866; Std. beta = 8.91e-03, 95% CI (-0.09, 0.11))
  • The effect of inmigrante2 (Alto) is statistically non-significant and negative (beta = -0.07, 95% CI (-0.25, 0.12), t(4813) = -0.71, p = 0.478; Std. beta = -0.05, 95% CI (-0.18, 0.09))
  • The effect of escolaridad is statistically non-significant and negative (beta = -0.01, 95% CI (-0.12, 0.10), t(4813) = -0.26, p = 0.798; Std. beta = -6.41e-03, 95% CI (-0.06, 0.04))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict est_acc_div with civic (formula: est_acc_div ~ educacion_rec + libros_rec + apod_acc_div + civic + apdis_fa + mean_apdis + etnia2 + inmigrante2 + escolaridad). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is weak (conditional R2 = 0.03) and the part related to the fixed effects alone (marginal R2) is of 0.02. The model’s intercept, corresponding to civic = Bajo, is at 5.92 (95% CI (5.02, 6.83), t(4813) = 12.78, p < .001). Within this model:

  • The effect of educacion rec (Ed Media) is statistically significant and negative (beta = -0.16, 95% CI (-0.32, -6.30e-03), t(4813) = -2.04, p = 0.041; Std. beta = -0.12, 95% CI (-0.23, -4.53e-03))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and negative (beta = -0.14, 95% CI (-0.31, 0.03), t(4813) = -1.61, p = 0.109; Std. beta = -0.10, 95% CI (-0.22, 0.02))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and negative (beta = -0.09, 95% CI (-0.26, 0.08), t(4813) = -1.02, p = 0.310; Std. beta = -0.06, 95% CI (-0.19, 0.06))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.17, 0.14), t(4813) = -0.22, p = 0.824; Std. beta = -0.01, 95% CI (-0.12, 0.10))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.03, 95% CI (-0.05, 0.12), t(4813) = 0.78, p = 0.433; Std. beta = 0.02, 95% CI (-0.04, 0.09))
  • The effect of apod acc div is statistically significant and positive (beta = 0.08, 95% CI (0.04, 0.11), t(4813) = 3.97, p < .001; Std. beta = 0.06, 95% CI (0.03, 0.08))
  • The effect of civic (Medio) is statistically significant and positive (beta = 0.27, 95% CI (0.17, 0.37), t(4813) = 5.38, p < .001; Std. beta = 0.19, 95% CI (0.12, 0.26))
  • The effect of civic (Alto) is statistically significant and positive (beta = 0.40, 95% CI (0.30, 0.51), t(4813) = 7.75, p < .001; Std. beta = 0.29, 95% CI (0.22, 0.36))
  • The effect of apdis fa is statistically significant and positive (beta = 0.07, 95% CI (0.02, 0.12), t(4813) = 2.88, p = 0.004; Std. beta = 0.04, 95% CI (0.01, 0.07))
  • The effect of mean apdis is statistically non-significant and negative (beta = -0.04, 95% CI (-0.20, 0.13), t(4813) = -0.43, p = 0.671; Std. beta = -6.89e-03, 95% CI (-0.04, 0.02))
  • The effect of etnia2 (Medio) is statistically significant and positive (beta = 0.12, 95% CI (5.77e-04, 0.25), t(4813) = 1.97, p = 0.049; Std. beta = 0.09, 95% CI (4.14e-04, 0.18))
  • The effect of etnia2 (Alto) is statistically non-significant and positive (beta = 0.12, 95% CI (-0.01, 0.25), t(4813) = 1.78, p = 0.075; Std. beta = 0.08, 95% CI (-8.62e-03, 0.18))
  • The effect of inmigrante2 (Medio) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.13, 0.16), t(4813) = 0.17, p = 0.866; Std. beta = 8.91e-03, 95% CI (-0.09, 0.11))
  • The effect of inmigrante2 (Alto) is statistically non-significant and negative (beta = -0.07, 95% CI (-0.25, 0.12), t(4813) = -0.71, p = 0.478; Std. beta = -0.05, 95% CI (-0.18, 0.09))
  • The effect of escolaridad is statistically non-significant and negative (beta = -0.01, 95% CI (-0.12, 0.10), t(4813) = -0.26, p = 0.798; Std. beta = -6.41e-03, 95% CI (-0.06, 0.04))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict est_acc_div with apdis_fa (formula: est_acc_div ~ educacion_rec + libros_rec + apod_acc_div + civic + apdis_fa + mean_apdis + etnia2 + inmigrante2 + escolaridad). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is weak (conditional R2 = 0.03) and the part related to the fixed effects alone (marginal R2) is of 0.02. The model’s intercept, corresponding to apdis_fa = 0, is at 5.92 (95% CI (5.02, 6.83), t(4813) = 12.78, p < .001). Within this model:

  • The effect of educacion rec (Ed Media) is statistically significant and negative (beta = -0.16, 95% CI (-0.32, -6.30e-03), t(4813) = -2.04, p = 0.041; Std. beta = -0.12, 95% CI (-0.23, -4.53e-03))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and negative (beta = -0.14, 95% CI (-0.31, 0.03), t(4813) = -1.61, p = 0.109; Std. beta = -0.10, 95% CI (-0.22, 0.02))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and negative (beta = -0.09, 95% CI (-0.26, 0.08), t(4813) = -1.02, p = 0.310; Std. beta = -0.06, 95% CI (-0.19, 0.06))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.17, 0.14), t(4813) = -0.22, p = 0.824; Std. beta = -0.01, 95% CI (-0.12, 0.10))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.03, 95% CI (-0.05, 0.12), t(4813) = 0.78, p = 0.433; Std. beta = 0.02, 95% CI (-0.04, 0.09))
  • The effect of apod acc div is statistically significant and positive (beta = 0.08, 95% CI (0.04, 0.11), t(4813) = 3.97, p < .001; Std. beta = 0.06, 95% CI (0.03, 0.08))
  • The effect of civic (Medio) is statistically significant and positive (beta = 0.27, 95% CI (0.17, 0.37), t(4813) = 5.38, p < .001; Std. beta = 0.19, 95% CI (0.12, 0.26))
  • The effect of civic (Alto) is statistically significant and positive (beta = 0.40, 95% CI (0.30, 0.51), t(4813) = 7.75, p < .001; Std. beta = 0.29, 95% CI (0.22, 0.36))
  • The effect of apdis fa is statistically significant and positive (beta = 0.07, 95% CI (0.02, 0.12), t(4813) = 2.88, p = 0.004; Std. beta = 0.04, 95% CI (0.01, 0.07))
  • The effect of mean apdis is statistically non-significant and negative (beta = -0.04, 95% CI (-0.20, 0.13), t(4813) = -0.43, p = 0.671; Std. beta = -6.89e-03, 95% CI (-0.04, 0.02))
  • The effect of etnia2 (Medio) is statistically significant and positive (beta = 0.12, 95% CI (5.77e-04, 0.25), t(4813) = 1.97, p = 0.049; Std. beta = 0.09, 95% CI (4.14e-04, 0.18))
  • The effect of etnia2 (Alto) is statistically non-significant and positive (beta = 0.12, 95% CI (-0.01, 0.25), t(4813) = 1.78, p = 0.075; Std. beta = 0.08, 95% CI (-8.62e-03, 0.18))
  • The effect of inmigrante2 (Medio) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.13, 0.16), t(4813) = 0.17, p = 0.866; Std. beta = 8.91e-03, 95% CI (-0.09, 0.11))
  • The effect of inmigrante2 (Alto) is statistically non-significant and negative (beta = -0.07, 95% CI (-0.25, 0.12), t(4813) = -0.71, p = 0.478; Std. beta = -0.05, 95% CI (-0.18, 0.09))
  • The effect of escolaridad is statistically non-significant and negative (beta = -0.01, 95% CI (-0.12, 0.10), t(4813) = -0.26, p = 0.798; Std. beta = -6.41e-03, 95% CI (-0.06, 0.04))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict est_acc_div with mean_apdis (formula: est_acc_div ~ educacion_rec + libros_rec + apod_acc_div + civic + apdis_fa + mean_apdis + etnia2 + inmigrante2 + escolaridad). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is weak (conditional R2 = 0.03) and the part related to the fixed effects alone (marginal R2) is of 0.02. The model’s intercept, corresponding to mean_apdis = 0, is at 5.92 (95% CI (5.02, 6.83), t(4813) = 12.78, p < .001). Within this model:

  • The effect of educacion rec (Ed Media) is statistically significant and negative (beta = -0.16, 95% CI (-0.32, -6.30e-03), t(4813) = -2.04, p = 0.041; Std. beta = -0.12, 95% CI (-0.23, -4.53e-03))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and negative (beta = -0.14, 95% CI (-0.31, 0.03), t(4813) = -1.61, p = 0.109; Std. beta = -0.10, 95% CI (-0.22, 0.02))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and negative (beta = -0.09, 95% CI (-0.26, 0.08), t(4813) = -1.02, p = 0.310; Std. beta = -0.06, 95% CI (-0.19, 0.06))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.17, 0.14), t(4813) = -0.22, p = 0.824; Std. beta = -0.01, 95% CI (-0.12, 0.10))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.03, 95% CI (-0.05, 0.12), t(4813) = 0.78, p = 0.433; Std. beta = 0.02, 95% CI (-0.04, 0.09))
  • The effect of apod acc div is statistically significant and positive (beta = 0.08, 95% CI (0.04, 0.11), t(4813) = 3.97, p < .001; Std. beta = 0.06, 95% CI (0.03, 0.08))
  • The effect of civic (Medio) is statistically significant and positive (beta = 0.27, 95% CI (0.17, 0.37), t(4813) = 5.38, p < .001; Std. beta = 0.19, 95% CI (0.12, 0.26))
  • The effect of civic (Alto) is statistically significant and positive (beta = 0.40, 95% CI (0.30, 0.51), t(4813) = 7.75, p < .001; Std. beta = 0.29, 95% CI (0.22, 0.36))
  • The effect of apdis fa is statistically significant and positive (beta = 0.07, 95% CI (0.02, 0.12), t(4813) = 2.88, p = 0.004; Std. beta = 0.04, 95% CI (0.01, 0.07))
  • The effect of mean apdis is statistically non-significant and negative (beta = -0.04, 95% CI (-0.20, 0.13), t(4813) = -0.43, p = 0.671; Std. beta = -6.89e-03, 95% CI (-0.04, 0.02))
  • The effect of etnia2 (Medio) is statistically significant and positive (beta = 0.12, 95% CI (5.77e-04, 0.25), t(4813) = 1.97, p = 0.049; Std. beta = 0.09, 95% CI (4.14e-04, 0.18))
  • The effect of etnia2 (Alto) is statistically non-significant and positive (beta = 0.12, 95% CI (-0.01, 0.25), t(4813) = 1.78, p = 0.075; Std. beta = 0.08, 95% CI (-8.62e-03, 0.18))
  • The effect of inmigrante2 (Medio) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.13, 0.16), t(4813) = 0.17, p = 0.866; Std. beta = 8.91e-03, 95% CI (-0.09, 0.11))
  • The effect of inmigrante2 (Alto) is statistically non-significant and negative (beta = -0.07, 95% CI (-0.25, 0.12), t(4813) = -0.71, p = 0.478; Std. beta = -0.05, 95% CI (-0.18, 0.09))
  • The effect of escolaridad is statistically non-significant and negative (beta = -0.01, 95% CI (-0.12, 0.10), t(4813) = -0.26, p = 0.798; Std. beta = -6.41e-03, 95% CI (-0.06, 0.04))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict est_acc_div with etnia2 (formula: est_acc_div ~ educacion_rec + libros_rec + apod_acc_div + civic + apdis_fa + mean_apdis + etnia2 + inmigrante2 + escolaridad). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is weak (conditional R2 = 0.03) and the part related to the fixed effects alone (marginal R2) is of 0.02. The model’s intercept, corresponding to etnia2 = Bajo, is at 5.92 (95% CI (5.02, 6.83), t(4813) = 12.78, p < .001). Within this model:

  • The effect of educacion rec (Ed Media) is statistically significant and negative (beta = -0.16, 95% CI (-0.32, -6.30e-03), t(4813) = -2.04, p = 0.041; Std. beta = -0.12, 95% CI (-0.23, -4.53e-03))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and negative (beta = -0.14, 95% CI (-0.31, 0.03), t(4813) = -1.61, p = 0.109; Std. beta = -0.10, 95% CI (-0.22, 0.02))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and negative (beta = -0.09, 95% CI (-0.26, 0.08), t(4813) = -1.02, p = 0.310; Std. beta = -0.06, 95% CI (-0.19, 0.06))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.17, 0.14), t(4813) = -0.22, p = 0.824; Std. beta = -0.01, 95% CI (-0.12, 0.10))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.03, 95% CI (-0.05, 0.12), t(4813) = 0.78, p = 0.433; Std. beta = 0.02, 95% CI (-0.04, 0.09))
  • The effect of apod acc div is statistically significant and positive (beta = 0.08, 95% CI (0.04, 0.11), t(4813) = 3.97, p < .001; Std. beta = 0.06, 95% CI (0.03, 0.08))
  • The effect of civic (Medio) is statistically significant and positive (beta = 0.27, 95% CI (0.17, 0.37), t(4813) = 5.38, p < .001; Std. beta = 0.19, 95% CI (0.12, 0.26))
  • The effect of civic (Alto) is statistically significant and positive (beta = 0.40, 95% CI (0.30, 0.51), t(4813) = 7.75, p < .001; Std. beta = 0.29, 95% CI (0.22, 0.36))
  • The effect of apdis fa is statistically significant and positive (beta = 0.07, 95% CI (0.02, 0.12), t(4813) = 2.88, p = 0.004; Std. beta = 0.04, 95% CI (0.01, 0.07))
  • The effect of mean apdis is statistically non-significant and negative (beta = -0.04, 95% CI (-0.20, 0.13), t(4813) = -0.43, p = 0.671; Std. beta = -6.89e-03, 95% CI (-0.04, 0.02))
  • The effect of etnia2 (Medio) is statistically significant and positive (beta = 0.12, 95% CI (5.77e-04, 0.25), t(4813) = 1.97, p = 0.049; Std. beta = 0.09, 95% CI (4.14e-04, 0.18))
  • The effect of etnia2 (Alto) is statistically non-significant and positive (beta = 0.12, 95% CI (-0.01, 0.25), t(4813) = 1.78, p = 0.075; Std. beta = 0.08, 95% CI (-8.62e-03, 0.18))
  • The effect of inmigrante2 (Medio) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.13, 0.16), t(4813) = 0.17, p = 0.866; Std. beta = 8.91e-03, 95% CI (-0.09, 0.11))
  • The effect of inmigrante2 (Alto) is statistically non-significant and negative (beta = -0.07, 95% CI (-0.25, 0.12), t(4813) = -0.71, p = 0.478; Std. beta = -0.05, 95% CI (-0.18, 0.09))
  • The effect of escolaridad is statistically non-significant and negative (beta = -0.01, 95% CI (-0.12, 0.10), t(4813) = -0.26, p = 0.798; Std. beta = -6.41e-03, 95% CI (-0.06, 0.04))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation., We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict est_acc_div with inmigrante2 (formula: est_acc_div ~ educacion_rec + libros_rec + apod_acc_div + civic + apdis_fa + mean_apdis + etnia2 + inmigrante2 + escolaridad). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is weak (conditional R2 = 0.03) and the part related to the fixed effects alone (marginal R2) is of 0.02. The model’s intercept, corresponding to inmigrante2 = Bajo, is at 5.92 (95% CI (5.02, 6.83), t(4813) = 12.78, p < .001). Within this model:

  • The effect of educacion rec (Ed Media) is statistically significant and negative (beta = -0.16, 95% CI (-0.32, -6.30e-03), t(4813) = -2.04, p = 0.041; Std. beta = -0.12, 95% CI (-0.23, -4.53e-03))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and negative (beta = -0.14, 95% CI (-0.31, 0.03), t(4813) = -1.61, p = 0.109; Std. beta = -0.10, 95% CI (-0.22, 0.02))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and negative (beta = -0.09, 95% CI (-0.26, 0.08), t(4813) = -1.02, p = 0.310; Std. beta = -0.06, 95% CI (-0.19, 0.06))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.17, 0.14), t(4813) = -0.22, p = 0.824; Std. beta = -0.01, 95% CI (-0.12, 0.10))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.03, 95% CI (-0.05, 0.12), t(4813) = 0.78, p = 0.433; Std. beta = 0.02, 95% CI (-0.04, 0.09))
  • The effect of apod acc div is statistically significant and positive (beta = 0.08, 95% CI (0.04, 0.11), t(4813) = 3.97, p < .001; Std. beta = 0.06, 95% CI (0.03, 0.08))
  • The effect of civic (Medio) is statistically significant and positive (beta = 0.27, 95% CI (0.17, 0.37), t(4813) = 5.38, p < .001; Std. beta = 0.19, 95% CI (0.12, 0.26))
  • The effect of civic (Alto) is statistically significant and positive (beta = 0.40, 95% CI (0.30, 0.51), t(4813) = 7.75, p < .001; Std. beta = 0.29, 95% CI (0.22, 0.36))
  • The effect of apdis fa is statistically significant and positive (beta = 0.07, 95% CI (0.02, 0.12), t(4813) = 2.88, p = 0.004; Std. beta = 0.04, 95% CI (0.01, 0.07))
  • The effect of mean apdis is statistically non-significant and negative (beta = -0.04, 95% CI (-0.20, 0.13), t(4813) = -0.43, p = 0.671; Std. beta = -6.89e-03, 95% CI (-0.04, 0.02))
  • The effect of etnia2 (Medio) is statistically significant and positive (beta = 0.12, 95% CI (5.77e-04, 0.25), t(4813) = 1.97, p = 0.049; Std. beta = 0.09, 95% CI (4.14e-04, 0.18))
  • The effect of etnia2 (Alto) is statistically non-significant and positive (beta = 0.12, 95% CI (-0.01, 0.25), t(4813) = 1.78, p = 0.075; Std. beta = 0.08, 95% CI (-8.62e-03, 0.18))
  • The effect of inmigrante2 (Medio) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.13, 0.16), t(4813) = 0.17, p = 0.866; Std. beta = 8.91e-03, 95% CI (-0.09, 0.11))
  • The effect of inmigrante2 (Alto) is statistically non-significant and negative (beta = -0.07, 95% CI (-0.25, 0.12), t(4813) = -0.71, p = 0.478; Std. beta = -0.05, 95% CI (-0.18, 0.09))
  • The effect of escolaridad is statistically non-significant and negative (beta = -0.01, 95% CI (-0.12, 0.10), t(4813) = -0.26, p = 0.798; Std. beta = -6.41e-03, 95% CI (-0.06, 0.04))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation. and We fitted a linear mixed model (estimated using REML and nloptwrap optimizer) to predict est_acc_div with escolaridad (formula: est_acc_div ~ educacion_rec + libros_rec + apod_acc_div + civic + apdis_fa + mean_apdis + etnia2 + inmigrante2 + escolaridad). The model included mrbd as random effect (formula: ~1 | mrbd). The model’s total explanatory power is weak (conditional R2 = 0.03) and the part related to the fixed effects alone (marginal R2) is of 0.02. The model’s intercept, corresponding to escolaridad = 0, is at 5.92 (95% CI (5.02, 6.83), t(4813) = 12.78, p < .001). Within this model:

  • The effect of educacion rec (Ed Media) is statistically significant and negative (beta = -0.16, 95% CI (-0.32, -6.30e-03), t(4813) = -2.04, p = 0.041; Std. beta = -0.12, 95% CI (-0.23, -4.53e-03))
  • The effect of educacion rec (Ed Tecnica) is statistically non-significant and negative (beta = -0.14, 95% CI (-0.31, 0.03), t(4813) = -1.61, p = 0.109; Std. beta = -0.10, 95% CI (-0.22, 0.02))
  • The effect of educacion rec (Universidad o posgrado) is statistically non-significant and negative (beta = -0.09, 95% CI (-0.26, 0.08), t(4813) = -1.02, p = 0.310; Std. beta = -0.06, 95% CI (-0.19, 0.06))
  • The effect of educacion rec (Ns/Nr) is statistically non-significant and negative (beta = -0.02, 95% CI (-0.17, 0.14), t(4813) = -0.22, p = 0.824; Std. beta = -0.01, 95% CI (-0.12, 0.10))
  • The effect of libros rec (Más de 25) is statistically non-significant and positive (beta = 0.03, 95% CI (-0.05, 0.12), t(4813) = 0.78, p = 0.433; Std. beta = 0.02, 95% CI (-0.04, 0.09))
  • The effect of apod acc div is statistically significant and positive (beta = 0.08, 95% CI (0.04, 0.11), t(4813) = 3.97, p < .001; Std. beta = 0.06, 95% CI (0.03, 0.08))
  • The effect of civic (Medio) is statistically significant and positive (beta = 0.27, 95% CI (0.17, 0.37), t(4813) = 5.38, p < .001; Std. beta = 0.19, 95% CI (0.12, 0.26))
  • The effect of civic (Alto) is statistically significant and positive (beta = 0.40, 95% CI (0.30, 0.51), t(4813) = 7.75, p < .001; Std. beta = 0.29, 95% CI (0.22, 0.36))
  • The effect of apdis fa is statistically significant and positive (beta = 0.07, 95% CI (0.02, 0.12), t(4813) = 2.88, p = 0.004; Std. beta = 0.04, 95% CI (0.01, 0.07))
  • The effect of mean apdis is statistically non-significant and negative (beta = -0.04, 95% CI (-0.20, 0.13), t(4813) = -0.43, p = 0.671; Std. beta = -6.89e-03, 95% CI (-0.04, 0.02))
  • The effect of etnia2 (Medio) is statistically significant and positive (beta = 0.12, 95% CI (5.77e-04, 0.25), t(4813) = 1.97, p = 0.049; Std. beta = 0.09, 95% CI (4.14e-04, 0.18))
  • The effect of etnia2 (Alto) is statistically non-significant and positive (beta = 0.12, 95% CI (-0.01, 0.25), t(4813) = 1.78, p = 0.075; Std. beta = 0.08, 95% CI (-8.62e-03, 0.18))
  • The effect of inmigrante2 (Medio) is statistically non-significant and positive (beta = 0.01, 95% CI (-0.13, 0.16), t(4813) = 0.17, p = 0.866; Std. beta = 8.91e-03, 95% CI (-0.09, 0.11))
  • The effect of inmigrante2 (Alto) is statistically non-significant and negative (beta = -0.07, 95% CI (-0.25, 0.12), t(4813) = -0.71, p = 0.478; Std. beta = -0.05, 95% CI (-0.18, 0.09))
  • The effect of escolaridad is statistically non-significant and negative (beta = -0.01, 95% CI (-0.12, 0.10), t(4813) = -0.26, p = 0.798; Std. beta = -6.41e-03, 95% CI (-0.06, 0.04))

Standardized parameters were obtained by fitting the model on a standardized version of the dataset. 95% Confidence Intervals (CIs) and p-values were computed using a Wald t-distribution approximation.

The model’s total explanatory power is weak (conditional R2 = 0.03) and the part related to the fixed effects alone (marginal R2) is of 0.02

Column

Model information

---
title: "Regression model summary from `{easystats}`"
output: 
  flexdashboard::flex_dashboard:
    theme:
      version: 4
      # bg: "#101010"
      # fg: "#FDF7F7" 
      primary: "#0054AD"
      base_font:
        google: Prompt
      code_font:
        google: JetBrains Mono
params:
  model: model
  check_model_args: check_model_args
  parameters_args: parameters_args
  performance_args: performance_args
---

```{r setup, include=FALSE}
library(flexdashboard)
library(easystats)

# Since not all regression model are supported across all packages, make the
# dashboard chunks more fault-tolerant. E.g. a model might be supported in
# `{parameters}`, but not in `{report}`.
#
# For this reason, `error = TRUE`
knitr::opts_chunk$set(
  error = TRUE,
  out.width = "100%"
)
```

```{r}
# Get user-specified model data
model <- params$model

# Is it supported by `{easystats}`? Skip evaluation of the following chunks if not.
is_supported <- insight::is_model_supported(model)

if (!is_supported) {
  unsupported_message <- sprintf(
    "Unfortunately, objects of class '%s' are not yet supported in {easystats}.\n
    For a list of supported models, see `insight::supported_models()`.",
    class(model)[1]
  )
}
```


Model fit 
=====================================  

Column {data-width=700}
-----------------------------------------------------------------------

### Assumption checks

```{r check-model, eval=is_supported, fig.height=10, fig.width=10}
check_model_args <- c(list(model), params$check_model_args)
do.call(performance::check_model, check_model_args)
```

```{r, eval=!is_supported}
cat(unsupported_message)
```

Column {data-width=300}
-----------------------------------------------------------------------

### Indices of model fit

```{r, eval=is_supported}
# `{performance}`
performance_args <- c(list(model), params$performance_args)
table_performance <- do.call(performance::performance, performance_args)
print_md(table_performance, layout = "vertical", caption = NULL)
```


```{r, eval=!is_supported}
cat(unsupported_message)
```

For interpretation of performance metrics, please refer to <a href="https://easystats.github.io/performance/reference/model_performance.html" target="_blank">this documentation</a>.

Parameter estimates
=====================================  

Column {data-width=550}
-----------------------------------------------------------------------

### Plot

```{r dot-whisker, eval=is_supported}
# `{parameters}`
parameters_args <- c(list(model), params$parameters_args)
table_parameters <- do.call(parameters::parameters, parameters_args)

plot(table_parameters)
```


```{r, eval=!is_supported}
cat(unsupported_message)
```

Column {data-width=450}
-----------------------------------------------------------------------

### Tabular summary

```{r, eval=is_supported}
print_md(table_parameters, caption = NULL)
```


```{r, eval=!is_supported}
cat(unsupported_message)
```

To find out more about table summary options, please refer to <a href="https://easystats.github.io/parameters/reference/model_parameters.html" target="_blank">this documentation</a>.


Predicted Values
=====================================  

Column {data-width=600}
-----------------------------------------------------------------------

### Plot

```{r expected-values, eval=is_supported, fig.height=10, fig.width=10}
# `{modelbased}`
int_terms <- find_interactions(model, component = "conditional", flatten = TRUE)
con_terms <- find_variables(model)$conditional

if (is.null(int_terms)) {
  model_terms <- con_terms
} else {
  model_terms <- clean_names(int_terms)
  int_terms <- unique(unlist(strsplit(clean_names(int_terms), ":", fixed = TRUE)))
  model_terms <- c(model_terms, setdiff(con_terms, int_terms))
}

text_modelbased <- lapply(unique(model_terms), function(i) {
  grid <- get_datagrid(model, at = i, range = "grid", preserve_range = FALSE)
  estimate_expectation(model, data = grid)
})

ggplot2::theme_set(theme_modern())
# all_plots <- lapply(text_modelbased, function(i) {
#   out <- do.call(visualisation_recipe, c(list(i), modelbased_args))
#   plot(out) + ggplot2::ggtitle("")
# })
all_plots <- lapply(text_modelbased, function(i) {
  out <- visualisation_recipe(i, show_data = "none")
  plot(out) + ggplot2::ggtitle("")
})

see::plots(all_plots, n_columns = round(sqrt(length(text_modelbased))))
```


```{r, eval=!is_supported}
cat(unsupported_message)
```

Column {data-width=400}
-----------------------------------------------------------------------

### Tabular summary

```{r, eval=is_supported, results="asis"}
for (i in text_modelbased) {
  tmp <- print_md(i)
  tmp <- gsub("Variable predicted", "\nVariable predicted", tmp)
  tmp <- gsub("Predictors modulated", "\nPredictors modulated", tmp)
  tmp <- gsub("Predictors controlled", "\nPredictors controlled", tmp)
  print(tmp)
}
```


```{r, eval=!is_supported}
cat(unsupported_message)
```


Text reports
=====================================    

Column {data-width=500}
-----------------------------------------------------------------------

### Textual summary

```{r, eval=is_supported, results='asis', collapse=TRUE}
# `{report}`
text_report <- report(model)
text_report_performance <- report_performance(model)

gsub("]", ")", gsub("[", "(", text_report, fixed = TRUE), fixed = TRUE)
cat("\n")
gsub("]", ")", gsub("[", "(", text_report_performance, fixed = TRUE), fixed = TRUE)
```


```{r, eval=!is_supported}
cat(unsupported_message)
```

Column {data-width=500}
-----------------------------------------------------------------------

### Model information

```{r, eval=is_supported}
model_info_data <- insight::model_info(model)

model_info_data <- datawizard::data_to_long(as.data.frame(model_info_data))

DT::datatable(model_info_data)
```

```{r, eval=!is_supported}
cat(unsupported_message)
```